package com.wp.redisSpringBoot01.service;

import com.wp.redisSpringBoot01.entity.Dept;

/**
 * @author: WangPeng
 * @createTime: 2022/12/07 13:21
 * @description:
 * @version: v1.0
 */
public interface DeptService {
    /**
     * @param id 部门id
     * @return 返回部门
     */
    Dept findById(int id);

    Integer delete(Integer id);

    Dept save(Dept dept);

    Dept update (Dept dept);
}

